package com.huarui.util;

public class ConstantUtil {
	/**
	 * 接手单据
	 */
	public static final String ACCEPT_RECEIPT = "accept";
	/**
	 * 释放单据
	 */
	public static final String RELEASE_RECEIPT = "release";

	public static final String SUCCESS = "success";

	public static final String MSG = "msg";
	
	public static final String ROOT = "root";
	
	public static final String TOTALPROPERTY = "totalProperty";
	
	public static final String DESC = "DESC";
	
	public static final String TYPE_OF_INITIAL = "initial";
	
	public static final String TYPE_OF_SUBMIT = "submit";
	
	public static final String TYPE_OF_DEPOSIT = "deposit";
	
	public static final String PARAM_OF_ID = "id";
	
	public static final String PARAM_OF_BUYERID = "buyerId";
	
	public static final String PARAM_OF_CODEOFBUYER = "codeOfBuyer";
	
	public static final String PARAM_OF_COMPANYID = "companyId";

	public static final String PARAM_OF_ORDERSID = "ordersId";

	public static final String PARAM_OF_VARGROUP = "varGroup";

	public static final String PARAM_OF_PARTID = "partId";
	
	public static final String PARAM_OF_CODE = "code";
	
	public static final String PARAM_OF_SOURCE = "source";

	public static final String PARAM_OF_DOCUMENTTYPE = "documentType";
	
	public static final String PARAM_OF_CURRENTORID = "currentorId";

	public static final String PARAM_OF_DOCUMENTID = "documentId";

	public static final String PARAM_OF_ITEMLIST = "receiveItemList";
	
	public static final String PARAM_OF_LISTMODEL = "listModel";
	
	public static final String PARAM_OF_WITHINVENTORY = "withInventory";
	
	public static final String PARAM_OF_STATUSLIST = "statusList";
	
	public static final String ORDERBY_GMTCREATE = "gmtCreate";
	
	public static final String ORDERBY_CODEOFBUYER = "codeOfBuyer";

	public static final String JSON_OF_MAIN = "main";
	
	public static final String JSON_OF_DETAILS = "details";
	
	public static final String JSON_OF_BUTTONS = "buttons";
	
	public static final String JSON_OF_ISOWNER = "isOwner";
	
	public static final String JSON_OF_PAYABLEID = "payableId";
	
	public static final String JSON_OF_CUSTOMERID = "customerId";
	
	public static final String JSON_OF_CONFIRM = "confirmFirst";
	
	public static final String KEY_OF_ADDITEMS = "addItems";
	
	public static final String KEY_OF_MODIFYITEMS = "modifyItems";
	
	public static final String KEY_OF_AMOUNT = "amount";
	
	public static final String KEY_OF_ADDPARTPROPERTIES = "addPartProperties";
	
	public static final String KEY_OF_MODIFYPARTPROPERTIES = "modifyPartProperties";
	
	public static final String KEY_OF_DELETEITEMIDS = "deleteItemIds";
	
/*	public static final String KEY_OF_ITEM = "receiveItem";
	
	public static final String KEY_OF_RECEIVE = "receive";*/
	
	public static final String BACK_TO_DRAFT_SUCCESS = "{'alert':'退回草稿成功!'}";
	
	public static final String SAVE_CREATE_SUCCESS = "{'alert':'保存草稿成功!'}";
	
	public static final String SAVE_SUBMIT_SUCCESS = "{'alert':'提交仓库成功!'}";
	
	public static final String RETURNED_SUBMIT_SUCCESS = "{'alert':'退库单仓库审核通过!'}";
	
	public static final String RETURNED_DEPOSIT_SUCCESS = "{'confirm':'完成退库,是否完成付款单据?'}";
	
	public static final String RECEIVE_DEPOSIT_SUCCESS = "{'confirm':'完成入库,是否完成付款单据?'}";

	public static final String MSG_ALERT_TO_CREATE = "正在新建该入库单,是否继续?";
	
	public static final String MSG_SURE_TO_CREATE = "确认处理该订单?";
	
	public static final String MSG_AHEAD = "该订单已被";
	
	public static final String MSG_ENDING = "成功处理!";
	
	public static final String MSG_HAS_RECEIVE = "入库成功!";
	
	public static final String MSG_HAS_RETURNED = "退库成功!";
	
	public static final String MSG_ENDING_NOT = "所拥有,你不能操作!";
	
	public static final String MSG_DRAFT_NOT_EXIST = "单据不存在,删除失败!";
	
	public static final String MSG_BACKTO_DRAFT_FAILURE = "发生异常,退回草稿失败!";
	
	public static final String MSG_DELETE_DRAFT_FAILURE = "发生异常,删除草稿失败";
	
	public static final String MSG_DELETE_DRAFT_SUCCESS = "成功删除草稿!" ;
	
	public static final String MSG_GET_DETAIL_FAILURE = "发生异常,获取单据明细失败!";
	
	public static final String MSG_ACCEPT_RECEIPT_FAILURE = "发生异常,接手单据失败!";
	
	public static final String MSG_SAVE_FAILURE = "发生异常,保存出错!";
	
	public static final String MSG_RECEIPT_ACC_RELEASE_FAILURE = "发生异常,无法操作单据!";
	
	public static final Integer PAGESIZE = 8 ; //默认分页大小

	public static final String UPDATE = "update";
	
	public static final String INSERT_PARTNERADDRESS_ERROR = "保存客户地址出错!";
	
	public static final String INSERT_PARTNERADDRESS_SUCCESS = "保存客户地址成功!";
	
	public static final String PARAM_OF_RECEIVEID = "receiveId";
	
	public static final String PARAM_OF_IDS = "ids";
	
	public static final String PARAM_OF_RETURNEDID = "returnedId";
	
	public static final String QUOTE_OREDERS_FAILURE = "引用采购订单失败...";
	public static final String HASRECEIVE = "hasReceive";
	
}
